/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.dynamo.database.reverse.emf.metadata;


/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Column</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#getOwner <em>Owner</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#getLength <em>Length</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#isNullable <em>Nullable</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#getPrecision <em>Precision</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#isUnique <em>Unique</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#getScale <em>Scale</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#getSqlTypeCode <em>Sql Type Code</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#isFK <em>FK</em>}</li>
 *   <li>{@link org.dynamo.database.reverse.emf.metadata.Column#isReferencedFK <em>Referenced FK</em>}</li>
 * </ul>
 * </p>
 *
 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn()
 * @model
 * @generated
 */
public interface Column extends NamedElement {
	/**
	 * Returns the value of the '<em><b>Owner</b></em>' container reference.
	 * It is bidirectional and its opposite is '{@link org.dynamo.database.reverse.emf.metadata.Table#getColumns <em>Columns</em>}'.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Owner</em>' container reference isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Owner</em>' container reference.
	 * @see #setOwner(Table)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Owner()
	 * @see org.dynamo.database.reverse.emf.metadata.Table#getColumns
	 * @model opposite="columns" transient="false"
	 * @generated
	 */
	Table getOwner();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#getOwner <em>Owner</em>}' container reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Owner</em>' container reference.
	 * @see #getOwner()
	 * @generated
	 */
	void setOwner(Table value);

	/**
	 * Returns the value of the '<em><b>Length</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Length</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Length</em>' attribute.
	 * @see #setLength(int)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Length()
	 * @model
	 * @generated
	 */
	int getLength();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#getLength <em>Length</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Length</em>' attribute.
	 * @see #getLength()
	 * @generated
	 */
	void setLength(int value);

	/**
	 * Returns the value of the '<em><b>Nullable</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Nullable</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Nullable</em>' attribute.
	 * @see #setNullable(boolean)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Nullable()
	 * @model
	 * @generated
	 */
	boolean isNullable();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#isNullable <em>Nullable</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Nullable</em>' attribute.
	 * @see #isNullable()
	 * @generated
	 */
	void setNullable(boolean value);

	/**
	 * Returns the value of the '<em><b>Precision</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Precision</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Precision</em>' attribute.
	 * @see #setPrecision(int)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Precision()
	 * @model
	 * @generated
	 */
	int getPrecision();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#getPrecision <em>Precision</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Precision</em>' attribute.
	 * @see #getPrecision()
	 * @generated
	 */
	void setPrecision(int value);

	/**
	 * Returns the value of the '<em><b>Unique</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Unique</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Unique</em>' attribute.
	 * @see #setUnique(boolean)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Unique()
	 * @model
	 * @generated
	 */
	boolean isUnique();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#isUnique <em>Unique</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Unique</em>' attribute.
	 * @see #isUnique()
	 * @generated
	 */
	void setUnique(boolean value);

	/**
	 * Returns the value of the '<em><b>Scale</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Scale</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Scale</em>' attribute.
	 * @see #setScale(int)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_Scale()
	 * @model
	 * @generated
	 */
	int getScale();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#getScale <em>Scale</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Scale</em>' attribute.
	 * @see #getScale()
	 * @generated
	 */
	void setScale(int value);

	/**
	 * Returns the value of the '<em><b>Sql Type Code</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Sql Type Code</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Sql Type Code</em>' attribute.
	 * @see #setSqlTypeCode(int)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_SqlTypeCode()
	 * @model
	 * @generated
	 */
	int getSqlTypeCode();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#getSqlTypeCode <em>Sql Type Code</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Sql Type Code</em>' attribute.
	 * @see #getSqlTypeCode()
	 * @generated
	 */
	void setSqlTypeCode(int value);

	/**
	 * Returns the value of the '<em><b>FK</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>FK</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>FK</em>' attribute.
	 * @see #setFK(boolean)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_FK()
	 * @model
	 * @generated
	 */
	boolean isFK();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#isFK <em>FK</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>FK</em>' attribute.
	 * @see #isFK()
	 * @generated
	 */
	void setFK(boolean value);

	/**
	 * Returns the value of the '<em><b>Referenced FK</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Referenced FK</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Referenced FK</em>' attribute.
	 * @see #setReferencedFK(boolean)
	 * @see org.dynamo.database.reverse.emf.metadata.MetadataPackage#getColumn_ReferencedFK()
	 * @model
	 * @generated
	 */
	boolean isReferencedFK();

	/**
	 * Sets the value of the '{@link org.dynamo.database.reverse.emf.metadata.Column#isReferencedFK <em>Referenced FK</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Referenced FK</em>' attribute.
	 * @see #isReferencedFK()
	 * @generated
	 */
	void setReferencedFK(boolean value);

} // Column
